package com.group9.handinhand.service.so;

import com.group9.handinhand.service.so.ActivityEnums.ActivityType;
/**
 * Class for Activity Service
 *
 */
public abstract class ActivitySO extends AbstractBaseSO {
	
	private CommunitySO community;
	
	private String name;
	
	private String description;
	
	private UserSO creator;
	
	private ActivityType activityType;
	
	private ServicesSO service;
	
	private GoodsSO goods;
	/**
	 * returns community
	 * @return
	 */
	public CommunitySO getCommunity() {
		return community;
	}
	/**
	 * setter method
	 * @param community
	 */
	public void setCommunity(CommunitySO community) {
		this.community = community;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public UserSO getCreator() {
		return creator;
	}

	public void setCreator(UserSO creator) {
		this.creator = creator;
	}

	public ActivityType getActivityType() {
		return activityType;
	}

	public void setActivityType(ActivityType activityType) {
		this.activityType = activityType;
	}

	public ServicesSO getService() {
		return service;
	}

	public void setService(ServicesSO service) {
		this.service = service;
	}

	public GoodsSO getGoods() {
		return goods;
	}

	public void setGoods(GoodsSO goods) {
		this.goods = goods;
	}
	/**
	 * to string method
	 */
	@Override
	public String toString() {
		return "ActivitySO [community=" + community + ", name=" + name
				+ ", description=" + description + ", creator=" + creator
				+ ", activityType=" + activityType + ", service=" + service
				+ ", goods=" + goods + "]";
	}

	

}
